﻿using System;
using System.Runtime.Serialization;

namespace QuailDashboard.View.Web
{
    /// <summary>
    /// Information about a specific binary package
    /// </summary>
    [DataContract]
    public class BinaryPackageInfo
    {
        /// <summary>
        /// Gets or sets the name of the binary package
        /// </summary>
        [DataMember]
        public string PackageName
        {
            get; set;
        }

        /// <summary>
        /// Gets or sets the version of the binary package
        /// </summary>
        [DataMember]
        public string PackageVersion
        {
            get; set;
        }

        /// <summary>
        /// Gets or sets the last update for this binary package
        /// </summary>
        [DataMember]
        public DateTime LastUpdated
        {
            get;
            set;
        }
    }
}
